<template>
  <vue-office-pdf :src="props.url" />
</template>

<script setup>
//引入VueOfficePdf组件
import VueOfficePdf from "@vue-office/pdf";
const props = defineProps({
  url: {
    type: String,
    default: "",
  },
});
</script>
